package com.hsgene.user.service.api.impl;

import com.hsgene.common.util.exception.CommonErrorCode;
import com.hsgene.common.util.result.ApiResult;
import com.hsgene.common.util.result.NullObject;
import com.hsgene.user.service.api.AuthService;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @projectName: hdas-geneshop-server
 * @package: com.hsgene.user.service.api.impl
 * @author: maodi
 * @createDate: 2018/12/18 10:33
 * @version: 1.0
 * Copyright: Copyright (c) 2018
 */
@Component
public class AuthServiceImpl implements AuthService {

    @Override
    public ApiResult<NullObject> initDepartmentPermission(String departmentId, String initType) {
        return ApiResult.fail(CommonErrorCode.AUTHORITY_SERVICE_NOT_AVAILABLE);
    }
}
